import { Service, Inject } from "typedi";
import { HistoryService } from "../HistoryService";
import { HistoryDao } from "../../dao/HistoryDao";


@Service()
export class HistoryServiceImpl implements HistoryService{

    

    @Inject()
    private  HistoryDao!: HistoryDao;

    public async getAllHistorySplashData():Promise<any>{

        return await this.HistoryDao.getAllHistorySplashDao();
        
    }

    public async getHistoryThink(think_Page:number,think_Count:number,history_Index:number):Promise<any>{

        return {thinkData:await this.HistoryDao.getHistoryThink(think_Page,think_Count,history_Index)};
        
    }


}